package com.main;
import java.util.Vector;

import com.PolygonMesh;

/*
 * Created on 20/giu/09
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */

public class CarData {
	
	PolygonMesh carMesh=null;
	
	int deltaX=0;
	int deltaY=0;  
	int deltaY2=0;  
	int deltaX2=0;
	
	

	public void setCarMesh(Vector points, Vector polygonData) {
		this.carMesh = new PolygonMesh(points, polygonData);
	}
	public PolygonMesh getCarMesh() {
		return carMesh;
	}
	
	public int getDeltaX() {
		return deltaX;
	}
	public void setDeltaX(int deltaX) {
		this.deltaX = deltaX;
	}
	public int getDeltaY() {
		return deltaY;
	}
	public void setDeltaY(int deltaY) {
		this.deltaY = deltaY;
	}
	public int getDeltaX2() {
		return deltaX2;
	}
	public void setDeltaX2(int deltaX2) {
		this.deltaX2 = deltaX2;
	}

	public int getDeltaY2() {
		return deltaY2;
	}
	public void setDeltaY2(int deltaY2) {
		this.deltaY2 = deltaY2;
	}
	
	
}
